package Chapter02.Homework.H20211110;

import java.text.SimpleDateFormat;
import java.util.Calendar;

public class Work03 {
    public static void main(String[] args) {
        System.out.println("今年国庆节是周几");
        Calendar ca=Calendar.getInstance();
        ca.set(2021,9,01);
        int b=ca.get(Calendar.DAY_OF_WEEK);
        System.out.println(b-1);
    }
}
